package com.mysite.springcloud.demo.user.mapper;

import com.mysite.springcloud.demo.api.vo.UserVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {

    @Select("select * from ms_user where username = #{username}")
    UserVo getUser(@Param("username") String username);
}
